package org.scirp.ijmis.dao.common.impl;

import java.util.List;

import org.scirp.ijmis.dao.base.impl.BaseDAOImpl;
import org.scirp.ijmis.dao.common.IDegreeDAO;
import org.scirp.ijmis.po.common.Degree;

public class DegreeDAOImpl extends BaseDAOImpl<Degree> implements IDegreeDAO {

	private static final String className = DegreeDAOImpl.class.toString();

	public List<Degree> selectAll() {
		String hql = "from Degree order by pid asc";
		return super.ExecuteQuery(hql, className + "-->selectAll");
	}

	public Degree selectById(Object id) {
		return (Degree) super.selectById(id, className + "-->selectById");
	}

}
